﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_HRM_PROCESS_RATEData : MarshalByRefObject, IHRM_PROCESS_RATEData
    {
        HRM_PROCESS_RATEData PROCESS_RATE = new HRM_PROCESS_RATEData();

        public int HRM_PROCESS_RATE_Delete(Guid RateID)
        {
            return PROCESS_RATE.HRM_PROCESS_RATE_Delete(RateID); 
        }
        public int HRM_PROCESS_RATE_Disable(Guid RateID, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_PROCESS_RATE_Get(Guid RateID)
        {
            return PROCESS_RATE.HRM_PROCESS_RATE_Get(RateID);
        }
        public System.Data.DataSet HRM_PROCESS_RATE_GetList()
        {
            return PROCESS_RATE.HRM_PROCESS_RATE_GetList();
        }
        public int HRM_PROCESS_RATE_Insert(Guid RateID, string EmployeeCode, DateTime Date, string Violation, bool IsRecidivism, bool IsDiscipline, double Minus, double MyPlus, string MyRate, double OwnerPlus, string OwnerRate, string Description)
        {
            return PROCESS_RATE.HRM_PROCESS_RATE_Insert(RateID,EmployeeCode,Date,Violation,IsRecidivism,IsDiscipline,Minus,MyPlus,MyRate,OwnerPlus,OwnerRate,Description);
        }
        public int HRM_PROCESS_RATE_Save(Guid RateID, string EmployeeCode, DateTime Date, string Violation, bool IsRecidivism, bool IsDiscipline, double Minus, double MyPlus, string MyRate, double OwnerPlus, string OwnerRate, string Description)
        {
            return PROCESS_RATE.HRM_PROCESS_RATE_Save(RateID, EmployeeCode, Date, Violation, IsRecidivism, IsDiscipline, Minus, MyPlus, MyRate, OwnerPlus, OwnerRate, Description);
        }
        public int HRM_PROCESS_RATE_Update(Guid RateID, string EmployeeCode, DateTime Date, string Violation, bool IsRecidivism, bool IsDiscipline, double Minus, double MyPlus, string MyRate, double OwnerPlus, string OwnerRate, string Description)
        {
            return PROCESS_RATE.HRM_PROCESS_RATE_Update(RateID,EmployeeCode,Date,Violation,IsRecidivism,IsDiscipline,Minus,MyPlus,MyRate,OwnerPlus,OwnerRate,Description);
        }
  
       
    }
}
